package com.xiyuan.smartutils.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 别名注解：支持1)类名别名和2)字段名别名两种
 *
 * @version v1.0.0 @author lgz 2017-9-21 新建与整理
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.FIELD})
public @interface AnAlias 
{
    String[] value();
}
